home *** CD-ROM | disk | FTP | other *** search
/ Hardcore Gamer Resource Kit / Hardcore Gamer Resource Kit - Disc 2.iso / Pc / S_T / TC3UPD.ZIP / UPDATE.BAT < prev   
DOS Batch File  |  1993-07-26  |  749b  |  31 lines

  1. @echo off
  2. echo //
  3. echo // Patching Trump Castle 3 Upgrade
  4. echo //
  5. pause
  6. if not exist tc3.exe goto wrongdir
  7. echo //
  8. echo // One moment please...
  9. if exist tc3upd.zip pkunzip >nul -o tc3upd
  10. echo //
  11. if not exist patch.exe goto wrongdir
  12. if not exist tc31-2.rtp goto wrongdir
  13. patch tc31-2
  14. if errorlevel 1 goto badpatch
  15. goto success
  16. :wrongdir
  17. echo //
  18. echo // Required file not found or wrong directory.
  19. echo //
  20. echo // Be sure to copy the tc3UPD.ZIP file into the tc3 directory before
  21. echo // running this patch.
  22. echo //
  23. :badpatch
  24. echo // An error occured during patching.  The files have been restored
  25. echo // to their original state prior to patching.
  26. echo //
  27. goto done
  28. :success
  29. echo // Patch completed successfully!
  30. :done
  31.